<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>武理天协</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f0f0f0;
        }
        .header, .footer {
            background-color: #202040;
            color: white;
            padding: 10px 20px;
            text-align: center;
        }
        .container_a {
            padding: 20px;
            margin: 15px;
        }
        .container_b {
            padding: 20px;
            margin: 15px;
        }
        .container_c {
            padding: 20px;
            margin: 15px;
        }
        .science-item_a {
            display: block; /* Makes the a element behave like a div */
            background-color: white;
            margin-bottom: 20px;
            padding: 20px;
            border: 2px solid #ccc;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            text-decoration: none; /* Remove underline from links */
            color:#f0f0f0; /* Standard text color for content */
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            background-image: url(./images/msy.jpeg);
            background-size: cover;
        }
        .science-item_b {
            display: block; /* Makes the a element behave like a div */
            background-color: white;
            margin-bottom: 20px;
            padding: 20px;
            border: 2px solid #ccc;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            text-decoration: none; /* Remove underline from links */
            color: #f0f0f0; /* Standard text color for content */
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            background-image: url(./images/sun.jpeg);
            background-size: cover;
        }
        .science-item_c {
            display: block; /* Makes the a element behave like a div */
            background-color: white;
            margin-bottom: 20px;
            padding: 20px;
            border: 2px solid #ccc;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            text-decoration: none; /* Remove underline from links */
            color: #f0f0f0; /* Standard text color for content */
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            background-image: url(./images/moon.jpeg);
            background-size: cover;
        }
        .science-item_a:hover {
            transform: scale(1.05);
            box-shadow: 0 10px 20px rgba(0,0,0,0.3);
        }
        .science-item_b:hover {
            transform: scale(1.05);
            box-shadow: 0 10px 20px rgba(0,0,0,0.3);
        }
        .science-item_c:hover {
            transform: scale(1.05);
            box-shadow: 0 10px 20px rgba(0,0,0,0.3);
        }
        .topic-title {
            color:#f0f0f0;
            font-size: 1.2em;
        }
        .nav-bar {
            background-color: #303060;
            padding: 10px 0;
            text-align: center;
            font-size: 36px; /* 导航字体比标题小一号 */
        }
        .nav-bar a {
            color: white;
            padding: 10px 20px;
            text-decoration: none;
            transition: background-color 0.3s ease-in-out;
        }
        .nav-bar a:hover {
            background-color: #505080;
        }
    </style>
</head>
<body>
    <div class="header">
        <h1>天文科普区</h1>
    </div>
    <div class="nav-bar">
        <a href="./首页.html">网站首页</a>
        <a href="./history.html">协会历史</a>
        <a href="./news.html">观星新闻</a>
        <a href="./events.html">活动预告</a>
        <a href="./links.html">链接天文</a>
    </div>
    <div class="container_a">
        <a href="./mesy.html" class="science-item_a">
            <h2 class="topic-title">梅西耶天体表</h2>
            <p>梅西耶星表是一份包含110个天体的天文目录...</p>
        </a>
    </div>
    <div class="container_b">
        <a href="./sun.html" class="science-item_b">
            <h2 class="topic-title">太阳科普</h2>
            <p>太阳是太阳系的中心天体...</p>
        </a>
    </div>
    <div class="container_c">
        <a href="./moon.html" class="science-item_c">
            <h2 class="topic-title">月亮科普</h2>
            <p>月球是地球的卫星...</p>
        </a>
    </div>
    

    <div class="footer">
        <p>联系我们: email@example.com</p>
    </div>
</body>
</html>
